1. Convert the. PS file into a PDF file
Ps2pdf, which is installed by default
Ps2pdf: Use ghostscript to output a postscript file as a PDF file
If no installation is available, install both.
JUDGE: ps2pdf-V to see if there is any prompt
Usage: ps2jwwr [Options...] (input. [e] PS |-) Export outputage |-]
The installation is complete!
Easy to use
filename. dvi
Bash $ distill filename. ps
Bash $ man ghostscript
Bash $ man ps2pdf
Bash $ ps2pdf input. ps outputexample
Bash $ publish read outputexample
_________________________________________________________________
Alternatively, you can use the Ghostscript command ps2pdf. Ps2pdf is an Adobe's Acrobat
Distil
1 Create pdf man-tmanpage for man manual | ps2pdf-filename.pdf for example man manual for making ls command pdf man-tls | ps2pdf-ls.pdf2 for command bind shortcut key bind-x amp; #39; quot; \ C-l quot;: ls -...
1. create a pdf version for the man manualMan-t manpage | ps2pdf-filename.pdfFor example, the man manual pdf file for making ls commands
Man-t ls |
may be frequently used, which are directly generated.(Pdflatex), ps-> pdf (ps2pdf), dvi-> pdf (dvipdfm), dvi-> pdf (dvipdfmx ),The advantage of using dvipdfmx is that the Chinese PDF file generated by dvipdfmx can be copied and pasted without garbled characters and the size is small, but the generated quality is inferior to that of dvipdfm. First, determine the Four SolutionsDefine a name. For example, pdflatex keeps the pdf unchanged. The following
I put a file on the server a few days ago, forgot where to put it, and even forgot the name. I just remembered that the file was very large. So I wrote a script to find the largest file locations. Fortunately, we found it through this script.
1 #! /Bin/sh2 If [$ #-EQ 0]3 then4 Var = 205 else6 Var = $17 fi8 find. /*-type F | xargs LS-l -- Time-style '+ % Y/% m/% d' | sed-n-e'/^-/P' | awk -f''' {print $5 "\ t" $7} '| sort-n-r | head-N $ VaR
Script:
man -t bash |
Ghostscript includes a ps2pdf tool that converts PostScript to PDF format. If the system has a GS command, then the Ghostscript has been installed, otherwise you need to install according to the system version.
Set method
1. Create a "print" script
Create a script that converts the PostScript file in the print pool to PDF format and outputs it to the specified directory. By sharing the directory with Samba, users can read the PDF file they created
and templates. ACM SIGGRAPH has also published a set of hints. Another set of hints is compiled by USENIX.
For MacOS, you can open the file in Preview and save the document to another file. This would embed all the fonts. Also, Microsoft Word on MacOS exports proper PDF with embedded fonts.
Gnuplot-generated PostScript often have this problem. Mohit Lad recommends the Following:by default, gnuplot does not embed fonts in EPS files; Insert this on your gnuplot script (note the is the font size a
The CAD tool in Linux and the method for converting ps files to pdf-Linux general technology-Linux technology and application information. The following is a detailed description. There is a part that needs to be re-processed, but AutoCAD (except Wine) cannot be used in Linux, so we only need to use other CAD tools. We also found a tool named VariCAD on the Internet, very easy to use. Although it is only a trial version, some features are limited, but it is enough for me. Its biggest advantage i
After compiling with Latex, if the PDF file is generated with Dvipdf, the left side of the EPS graph is not completely displayed, and if the PDF file is generated with dvips--pspdf, the image display is not a problem.The problem with this situation is that there is no driver option when loading the GRAPHICX macro package, so the dvips is used by default in LaTeX. Therefore, when the LATEX-DVIPDFM (x) tool chain is displayed, the picture appears to be problematic. That is, you must use the Latex-
"
Note: \ r \ n indicates a line feed. Upstairs 143) modify the description in Figure 11c and add the following code as above:
The following is a code snippet:! Define mui_welcomepage_text "pdf2all is a set of converters that can be converted to doc2pdf (word to PDF), xls2pdf (Excel sheet to PDF), ppt2pdf (PowerPoint to PDF ), mdb2pdf (access to PDF), ps2pdf (post
. Even if there is no error, you cannot see the diagram. You should use Latex compilation to generate DVI, and then dvi2ps,ps2pdf can see the diagram. Use [options] to specify the size of the picture: \includegraphics[width=3in]{file.eps} Set the picture width to 3 inches, and the image height will be automatically scaled. \includegraphics[width=\testwidth]{file.eps} Sets the width of the picture to text. \includegraphics[width=0.8\textwidth
Getting started with Linux: Embed all fonts in LaTex in PDF
Q: I have generated a PDF file by compiling the LaTex source file. However, I have noticed that not all fonts are embedded in PDF documents. How can I ensure that all fonts are embedded in PDF files generated by LaTex?
It is a good idea to embed fonts in a PDF file when creating a PDF file. If you do not embed a font, the ghost browser can use something else without a font on the computer. This results in different styles of files dis
Directory
Compile the tex file to generate the dvi File
View dvi files
Convert a dvi file to a ps File
View ps files
Convert dvi files into PDF files
Converting ps files into PDF files
View PDF files
Compile the tex file and generate the dvi file latex filename. tex.Latex filename here, the suffix. tex is optional. This command can generate a dvi file.
View the dvi file xdvi filename. dviXdvi filename. The suffix. dvi is optional. This command is used to view the dvi fi
When you have a lot of text files to maintain, it's better to convert them into PDF documents. For example, PDFs are better for printing because PDF documents have predefined layouts. In addition, you can reduce the risk of accidental changes to your documents.To convert a text file into PDF format, you will need to follow the two steps below.Preparatory workFirst, you need to install two required packages.On Debian, Ubuntu, or Linux mint:$ sudo apt-get install enscript GhostscriptOn Fedora, Cen
Set colors for mans pages:The Setup method is relatively simple, open/ETC/BASH.BASHRC (requires root permission) or ~/.BASHRC file to add the following content:# Set colors for mans pagesMan () {ENV \less_termcap_mb=$ (printf "\e[1;31m") \less_termcap_md=$ (printf "\e[1;31m") \less_termcap_me=$ (printf "\e[0m") \less_termcap_se=$ (printf "\e[0m") \less_termcap_so=$ (printf "\e[1;44;33m") \less_termcap_ue=$ (printf "\e[0m") \less_termcap_us=$ (printf "\e[1;32m") \Man "[email protected]"}Re-open t
In latex, the reference link is established to facilitate the reader to quickly locate the reference document and obtain the information of reference documents.
To this end, we need to pay attention to 2 points: (1) need to introduce HYPERREF macro package; (2) do not generate PDF files in latex-->dvips-->ps2pdf way.
When introducing a macro package, you can import the Hyperref macro package with the following statement:\usepackage[colorlinks, Citecol
to PDF), ps2pdf (postscript to PDF), 4102jpg (PDF to JPEG), 4102bmp (PDF to BMP), 4102tiff (PDF to TIFF ), pdf2eps (PDF to EPS), merge Merge (merged pdf file), and merge 2ppt (PDF to PowerPoint ). \ R \ n software: Gao fangyan (raindy) \ r \ n \ r \ N $ _ click"
14.④ Modify the modification in Figure 12 in the source code:
The following is a code snippet:Showinstdetails showShowuninstdetails show
Add:
The following is a code snippet:Brandingtext "Sof
Getting started with Linux: how to convert text files to PDF files in Linux
Question: I want to convert a plain text file into a PDF file. Is there a simple way to convert a text file into a PDF file under the Linux Command Line?
It is better to convert a large number of text files to PDF files for maintenance. For example, PDF is more suitable for printing because PDF documents have predefined la S. In addition, the document may be accidentally modified.
To convert a text file to a PDF file, f
How to convert a text file to a PDF file in Linux
It is better to convert a large number of text files to PDF files for maintenance. For example, PDF is more suitable for printing because PDF documents have predefined la S. In addition, the document may be accidentally modified.
To convert a text file to a PDF file, follow the two steps below.Preparations
First, install two required packages.
On Debian, Ubuntu, or Linux Mint:
$ Sudo apt-get install enscript ghostscript
On Fedora, CentOS/RH
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.